package com.example.smssender;

import java.io.Serializable;

/**
 * 短信格式/模板数据模型
 */
public class SmsTemplate implements Serializable {
    private String id;
    private String title;
    private String content;

    public SmsTemplate() {
        this.id = String.valueOf(System.currentTimeMillis());
    }

    public SmsTemplate(String title, String content) {
        this.id = String.valueOf(System.currentTimeMillis());
        this.title = title;
        this.content = content;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
